package cn.chenbonian.crowdfunding.mapper;

import cn.chenbonian.crowdfunding.entity.po.OrderPO;
import cn.chenbonian.crowdfunding.entity.po.OrderPOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderPOMapper {
  int countByExample(OrderPOExample example);

  int deleteByExample(OrderPOExample example);

  int deleteByPrimaryKey(Integer id);

  int insert(OrderPO record);

  int insertSelective(OrderPO record);

  List<OrderPO> selectByExample(OrderPOExample example);

  OrderPO selectByPrimaryKey(Integer id);

  int updateByExampleSelective(
      @Param("record") OrderPO record, @Param("example") OrderPOExample example);

  int updateByExample(@Param("record") OrderPO record, @Param("example") OrderPOExample example);

  int updateByPrimaryKeySelective(OrderPO record);

  int updateByPrimaryKey(OrderPO record);
}
